﻿@model IEnumerable<Model.ViewModel.CreditSaleTD>
@{
    var c = ViewData["C_Head"] as Model.ViewModel.CreditSaleTD_List_Head;
}

<div class="panel-heading">
    <ul class="list-inline">
        <li class="text-muted">订单编号:@c.CreditSaleNOID </li>
        <li class="text-primary">桌号:@c.CreditSetup</li>
      
        <li class="text-success">合计金额：@c.TotalMoney</li>
        <li class="text-info"> 是否结账:@c.IsCheck</li>
        <li class="text-danger"> 欠账时间:@c.DiffTime</li>
    </ul>
</div>
<div class="panel-body table-responsive">
    <table class="table table-condensed ">
        <thead class="bg-success">
            <tr><td>编号</td><td>销售时间</td><td>销售商品</td><td>商品单价</td><td>销售数量</td><td>总价</td><td>销售人</td><td>班次</td><td>是否兑奖</td></tr>
        </thead>
        <tbody>
            @{

                int i = 1;
                foreach (var g in Model)
                {
                    <tr><td>@i.ToString()</td><td>@g.CreditSaleTime</td><td>@g.GoodsName</td><td>@g.SalePrice</td><td>@g.CreditSaleNumber</td><td>@g.TotalPrice</td><td>@g.UserName</td><td>@g.ShiftName</td><td>@g.IsExchange</td></tr>
                    i++;
                }
            }
        </tbody>
    </table>
</div>
